package bb.lanxing.lib.devices.bryton.bbcp;

import gov.nist.core.Separators;

public class RemoteBbcpException extends Exception {
    private static final long serialVersionUID = 6592552773374706796L;
    private final int mState;

    public RemoteBbcpException(String str, int i) {
        super(str);
        this.mState = i;
    }

    public int getErrorNumber() {
        return this.mState;
    }

    @Override
    public String getMessage() {
        return super.getMessage() + " (error " + this.mState + Separators.RPAREN;
    }
}
